<div class="statmonthplan">
  <ng-container [ngSwitch]="userType">
    <ng-container *ngSwitchCase="'gq'">
      <app-statmonthplan-table [inputParam]="queryData_gq" [user]="{userType:userType,tab:1}"></app-statmonthplan-table>
    </ng-container>
    <ng-container *ngSwitchCase="'cj'">
      <nz-tabset [(nzSelectedIndex)]="tabIndex" (nzSelectChange)="tabSelectChange($event)">
        <nz-tab nzTitle="车间月计划">
          <app-statmonthplan-table [inputParam]="queryData_cj" [user]="{userType:userType,tab:1}">
          </app-statmonthplan-table>
        </nz-tab>
        <nz-tab nzTitle="工区月计划">
          <app-statmonthplan-table [inputParam]="queryData_gq" [user]="{userType:userType,tab:2}">
          </app-statmonthplan-table>
        </nz-tab>
      </nz-tabset>
    </ng-container>
    <ng-container *ngSwitchCase="'dd'">
      <nz-tabset [(nzSelectedIndex)]="tabIndex" (nzSelectChange)="tabSelectChange($event)">
        <nz-tab [nzTitle]="ddTypeName[ddType]">
          <app-statmonthplan-table [inputParam]="queryData_dd" [user]="{userType:ddType,tab:1}">
          </app-statmonthplan-table>
        </nz-tab>
        <nz-tab nzTitle="车间月计划">
          <app-statmonthplan-table [inputParam]="queryData_cj" [user]="{userType:ddType,tab:2}">
          </app-statmonthplan-table>
        </nz-tab>
        <nz-tab nzTitle="工区月计划">
          <app-statmonthplan-table [inputParam]="queryData_gq" [user]="{userType:ddType,tab:3}">
          </app-statmonthplan-table>
        </nz-tab>
      </nz-tabset>
    </ng-container>

  </ng-container>
</div>